package com.sunbird.crm.servce.impl;

import com.sunbird.crm.base.Vo.RestMessage;
import com.sunbird.crm.dao.sys.TLogMapper;
import com.sunbird.crm.entity.sys.TLog;
import com.sunbird.crm.servce.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName LogServiceImpl
 * @Descriptiom TODO
 * @Author Sunbird
 * @Date 2019/9/5 23:50
 * @Version 1.0
 **/

@Service
public class LogServiceImpl implements LogService {

    @Autowired
    private TLogMapper logMapper;


    @Override
    public RestMessage save(TLog log) {
           int count = logMapper.insert(log);
           return null;
    }
}
